package one.stand.response.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 任务员工
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
@Data
@ApiModel(value="TaskStaff对象", description="任务员工")
public class TaskStaffResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long taskStaffId;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "员工id")
    private Long userId;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "任务开始时间")
    private Date startTime;

    @ApiModelProperty(value = "任务结束时间")
    private Date endTime;

    @ApiModelProperty(value = "任务状态 0 未完成 1已完成 2已逾期  3已结束")
    private Integer state;

    @ApiModelProperty(value = "查看状态 0 未查看 1已查看")
    private Integer viewState;

}
